package zhihuilan.service;

import zhihuilan.dto.MyOrderDto;
import zhihuilan.dto.MyStaffShopGoodsDto;
import zhihuilan.dto.WxMiniPageDto;
import zhihuilan.entity.MyOrder;
import zhihuilan.entity.MyOrderDetail;
import zhihuilan.params.query.MyOrderQueryParam;
import zhihuilan.params.query.MyStaffShopGoodsQueryParam;

import java.util.List;

/**
 * 报价单 服务层
 * 
 * @author chenk
 * @Date 2025年2月19日 12:39:03
 */
public interface MyOrderService
{
     /**
      * 获取工厂会员列表；
      * */
     List<MyOrder> selectList(MyOrderQueryParam queryParam);

     WxMiniPageDto<MyOrderDto> selectPageList(MyOrderQueryParam queryParam);
     /**
      * 获取工厂会员总数；
      * */
     Long selectCount(MyOrderQueryParam queryParam);
     /**
      * 根据Id获取工厂会员列表；
      * */
     MyOrder selectById(Integer id);
     /**
      * 新增工厂会员；
      * */
     MyOrder addEntity(MyOrder myShopMember);
     /**
      * 更新工厂会员
      * */
     MyOrder updateEntity(MyOrder myShopMember);

     Boolean deleteById(Integer id);

     Boolean deleteStaffAndType(Integer staffId, Integer type);

     Boolean deleteStaffAndId(Integer staffId, Integer id);
}
